package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;

public class PmPrpty implements Serializable {
    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "属性编码")
    private String prptyCode;

    @ApiModelProperty(value = "属性名称")
    private String prptyName;

    @ApiModelProperty(value = "显示名称")
    private String prptyNameShow;

    @ApiModelProperty(value = "属性类型")
    private String prptyType;

    @ApiModelProperty(value = "属性描述")
    private String prptyDesc;

    @ApiModelProperty(value = "顺序")
    private Integer prptySeq;

    @ApiModelProperty(value = "属性状态")
    private Integer status;

    @ApiModelProperty(value = "属性类别")
    private Integer category;

    private List<PmPrptyVal> prptyValList;

    @ApiModelProperty(value = "是否已关联属性包")
    private String isSelected;

    public List<PmPrptyVal> getPrptyValList() {
        return prptyValList;
    }

    public void setPrptyValList(List<PmPrptyVal> prptyValList) {
        this.prptyValList = prptyValList;
    }

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPrptyCode() {
        return prptyCode;
    }

    public void setPrptyCode(String prptyCode) {
        this.prptyCode = prptyCode;
    }

    public String getPrptyName() {
        return prptyName;
    }

    public void setPrptyName(String prptyName) {
        this.prptyName = prptyName;
    }

    public String getPrptyNameShow() {
        return prptyNameShow;
    }

    public void setPrptyNameShow(String prptyNameShow) {
        this.prptyNameShow = prptyNameShow;
    }

    public String getPrptyType() {
        return prptyType;
    }

    public void setPrptyType(String prptyType) {
        this.prptyType = prptyType;
    }

    public String getPrptyDesc() {
        return prptyDesc;
    }

    public void setPrptyDesc(String prptyDesc) {
        this.prptyDesc = prptyDesc;
    }

    public Integer getPrptySeq() {
        return prptySeq;
    }

    public void setPrptySeq(Integer prptySeq) {
        this.prptySeq = prptySeq;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(String isSelected) {
        this.isSelected = isSelected;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", prptyCode=").append(prptyCode);
        sb.append(", prptyName=").append(prptyName);
        sb.append(", prptyNameShow=").append(prptyNameShow);
        sb.append(", prptyType=").append(prptyType);
        sb.append(", prptyDesc=").append(prptyDesc);
        sb.append(", prptySeq=").append(prptySeq);
        sb.append(", status=").append(status);
        sb.append(", category=").append(category);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

}